import request from '@/utils/request'
export default {
  // GET /admin/product/getCategory1
    getCategory1List () {
      return request('/admin/product/getCategory1')
    },
    //GET /admin/product/getCategory2/{category1Id}
    getCategory2List (category1Id) {
      return request('/admin/product/getCategory2/'+category1Id)
    },
    //GET /admin/product/getCategory3/{category2Id}
    getCategory3List(category2Id){
      return request(`/admin/product/getCategory3/${category2Id}`)
    }
  }